{% extends 'base.twig' %}


{% block content %}
<h2 class="title">Contact us</h2>

<section id="container">
		<form name="hongkiat" id="hongkiat-form" method="post" action="{{ constant('DOMAIN') }}/Send/">
		<div id="wrapping" class="clearfix">
			<section id="aligned">
			{{ form_widget(form.name, {'attr': {'class': 'txtinput', 'placeholder': 'Your name'}}) }}
    	{{ form_errors(form.name) }}
		
			{{ form_widget(form.email, {'attr': {'class': 'txtinput', 'placeholder': 'Your email'}}) }}
    	{{ form_errors(form.email) }}
		
			{{ form_widget(form.phone, {'attr': {'class': 'txtinput', 'placeholder': 'Your phone? (optional)'}}) }}
    	{{ form_errors(form.phone) }}
		
			{{ form_widget(form.message, {'attr': {'class': 'txtinput', 'placeholder': 'Enter a cool message'}}) }}
    	{{ form_errors(form.message) }}
			</section>
			
		</div>


		<section id="buttons">
			<input type="submit" name="submit" id="submitbtn" class="submitbtn" tabindex="7" value="Send">
			<br style="clear:both;">
		</section>
		</form>
	</section>

{% endblock %}